import Vue from 'vue'
import App from './App'
import store from './store'

Vue.config.productionTip = false;

import {slNavigateTo} from './utils/index.js'
import {slLoading, slTip} from './utils/tip.js'
// 返回
Vue.prototype.$back = function() {
	uni.navigateBack({
		delta: 1
	})
}
Vue.prototype.$slNavigateTo = slNavigateTo;
Vue.prototype.$slLoading = slLoading;
Vue.prototype.$slTip = slTip;

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
